<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<jsp:include page="commpage/top.jsp"></jsp:include>

<iframe id="mainpage" name="mainpage" width="100%"  scrolling="no" onload="changeFrameHeight()" frameborder="0">

</iframe>
<jsp:include page="commpage/bottom.jsp"></jsp:include>
<script>

    $("#sidebar li:first a span").click();
    function changeFrameHeight(){
        var ifm= document.getElementById("mainpage");
        ifm.height=document.documentElement.clientHeight;
    }
    window.onresize=function(){
        changeFrameHeight();
    }
    $("#sidebar li").click(function () {
        $(this).addClass("active").siblings().removeClass("active");
    })
</script>